import { deviceInfo } from '@kit.BasicServicesKit';

function startLivenessDetectionIOS(){
  return "iOS"
}

function startLivenessDetectionAndroid(){
  return "Android"
}

export function startLivenessDetectionArkuiX(){
  let osName = deviceInfo.osFullName;
  if (osName.startsWith('Android')) {
    return startLivenessDetectionAndroid()
  } else if (osName.startsWith('iOS')) {
    return startLivenessDetectionIOS()
  } else {
    return "error"
  }
}